package service.testGetConfigFile;

import org.springframework.beans.factory.annotation.Value;

/**
 * @Description ${DESCRIPTION}.
 * @author: wwchen
 * @DateTime: 2018-05-12 22:45
 */

public class GetPropertiesConfig {
    @Value("${mvn.jdbc.username}")
    private String userName;
    @Value("${mvn.jdbc.password}")
    private String passWord;
    @Value("${mvn.jdbc.url}")
    private String url;
    public void getPropertiesConfig(){
        System.out.println("userName "+userName);
        System.out.println("passWord "+passWord);
        System.out.println("url "+url);
    }

//    public void setUserName(String userName) {
//        this.userName = userName;
//    }
//
//    public void setPassWord(String passWord) {
//        this.passWord = passWord;
//    }
//
//    public void setUrl(String url) {
//        this.url = url;
//    }
}
